﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Ceremony.API.ViewModel
{
    public class RegisterUserResponse
    {
        /// <summary>
        /// 返回码（0：成功，1：失败,2:授权码不存在，3：内部服务错误,4:不允许变更）
        /// </summary>
        public int ResponseCode { get; set; }

        public RegisterUser User { get; set; }
    }
    public class RegisterUser
    {
        /// <summary>
        /// 用户Id
        /// </summary>
        public int UserId { get; set; }
        /// <summary>
        /// 授权码
        /// </summary>
        public string AuthorizationCode { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 次数
        /// </summary>
        public int Times { get; set; }
    }
}
